package com.sc.nft.entity.req;

import com.sc.nft.entity.vo.ecology.EcologyCastGasVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class SaveProductRuleConsensusReq {
    @ApiModelProperty("是否消耗共识度")
    @NotNull(message = "是否消耗共识度不能为空")
    private Boolean consumeConsensus;
    @ApiModelProperty("商品id")
    @NotNull(message = "商品id不能为空")
    private Long productId;
    
    @ApiModelProperty("上链费配置")
    private EcologyCastGasRequest ecologyCastGas;
}
